Fix: add cross-platform changes to allow building on Windows#326
Fix: add cross-platform changes to allow building on Windows#326bjones1 wants to merge 2 commits intoDoenet:mainfrom
Conversation
|
I'm confused why |
On Windows: On Linux: |
|
Are you able to develop on Linux/WSL? There are several other build scripts that assume a unix-like environment. I think supporting a windows dev environment will be a lot more trouble than its worth... |
|
Yes, I run WSL also. However, I'd suggest gradually merging changes that don't impact Linux/OS X while allowing pieces of Windows to work. I think a long-term goal of Windows support would enlarge the pool of potential project contributors. |
|
I would appreciate Windows support for Doenet dev environments. |
To get this running on Windows, I had to add a dependency on
react-dom; otherwise, this caused conflicts when runningnpm update. As shown below, the dependency conflict stems from npm selecting the latest version ofreact-dom, which in turn select the latestreact, which conflicts with v18 ofreactneeded elsewhere.Since this is my first Doenet PR, please let me know what changes are needed.